package com.woniu.common.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.woniu.common.annotation.Excel;
import com.woniu.common.core.domain.BaseEntity;

/**
 * 草药项记录对象 dms_herbal_item_record
 * 
 * @author ruoyi
 * @date 2024-10-21
 */
public class DmsHerbalItemRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Integer id;

    /** 状态 */
    @Excel(name = "状态")
    private Integer status;

    /** 处方ID */
    @Excel(name = "处方ID")
    private Integer prescriptionId;

    /** 医疗建议 */
    @Excel(name = "医疗建议")
    private String medicalAdvice;

    /** 脚注 */
    @Excel(name = "脚注")
    private String footnote;

    /** 药品ID */
    @Excel(name = "药品ID")
    private Integer drugId;

    /** 使用数量 */
    @Excel(name = "使用数量")
    private Integer usageNum;

    /** 使用单位 */
    @Excel(name = "使用单位")
    private Integer usageNumUnit;

    /** 总数量 */
    @Excel(name = "总数量")
    private Integer totalNum;

    /** 当前数量 */
    @Excel(name = "当前数量")
    private Integer currentNum;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setPrescriptionId(Integer prescriptionId) 
    {
        this.prescriptionId = prescriptionId;
    }

    public Integer getPrescriptionId() 
    {
        return prescriptionId;
    }
    public void setMedicalAdvice(String medicalAdvice) 
    {
        this.medicalAdvice = medicalAdvice;
    }

    public String getMedicalAdvice() 
    {
        return medicalAdvice;
    }
    public void setFootnote(String footnote) 
    {
        this.footnote = footnote;
    }

    public String getFootnote() 
    {
        return footnote;
    }
    public void setDrugId(Integer drugId) 
    {
        this.drugId = drugId;
    }

    public Integer getDrugId() 
    {
        return drugId;
    }
    public void setUsageNum(Integer usageNum) 
    {
        this.usageNum = usageNum;
    }

    public Integer getUsageNum() 
    {
        return usageNum;
    }
    public void setUsageNumUnit(Integer usageNumUnit) 
    {
        this.usageNumUnit = usageNumUnit;
    }

    public Integer getUsageNumUnit() 
    {
        return usageNumUnit;
    }
    public void setTotalNum(Integer totalNum) 
    {
        this.totalNum = totalNum;
    }

    public Integer getTotalNum() 
    {
        return totalNum;
    }
    public void setCurrentNum(Integer currentNum) 
    {
        this.currentNum = currentNum;
    }

    public Integer getCurrentNum() 
    {
        return currentNum;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("status", getStatus())
            .append("prescriptionId", getPrescriptionId())
            .append("medicalAdvice", getMedicalAdvice())
            .append("footnote", getFootnote())
            .append("drugId", getDrugId())
            .append("usageNum", getUsageNum())
            .append("usageNumUnit", getUsageNumUnit())
            .append("totalNum", getTotalNum())
            .append("currentNum", getCurrentNum())
            .toString();
    }
}
